package com.liuxin.zhiyuan.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
@ConfigurationPropertiesScan("com.liuxin.zhiyuan.gateway.config")
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class ZhiyuanGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZhiyuanGatewayApplication.class, args);
    }

}
